package com.chezhujie.www.persistence;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.chezhujie.www.domain.Tuserrole;



public interface TuserroleMapper {
	Tuserrole getTuserrole(Map<String,Object> param);
	List<Tuserrole> getTuserroleList(Map<String,Object> param);
	void insertTuserrole(Tuserrole tuserrole);
	void updateTuserrole(Tuserrole tuserrole);
	void deleteTuserrole(Map<String,Object> param);
   int getTotalRows(Map<String,Object> param);
	List<String> findTrolesByuserId(String userid);
	
	List<String> findBussinessByuserId(String userid);
	
	void deleteTuserroleByUserid(String userid);
	List<Tuserrole> findTroleByuserId(String userid);
 }